package com.lrkj.payfee.domain;

import java.math.BigDecimal;
import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 收款方式对象 tb_mode_payment
 *
 * @author yajun_ren
 * @date 2021-08-06
 */
public class ModePayment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String modePaymentId;

    /** 收款单ID */
    @Excel(name = "收款单ID")
    private String receiptId;

    /** 收款类型 */
    @Excel(name = "收款类型")
    private String collectionMethod;

    /** 收款金额 */
    @Excel(name = "收款金额")
    private BigDecimal billMoney;

    public void setModePaymentId(String modePaymentId)
    {
        this.modePaymentId = modePaymentId;
    }

    public String getModePaymentId()
    {
        return modePaymentId;
    }
    public void setReceiptId(String receiptId)
    {
        this.receiptId = receiptId;
    }

    public String getReceiptId()
    {
        return receiptId;
    }
    public void setCollectionMethod(String collectionMethod)
    {
        this.collectionMethod = collectionMethod;
    }

    public String getCollectionMethod()
    {
        return collectionMethod;
    }
    public void setBillMoney(BigDecimal billMoney)
    {
        this.billMoney = billMoney;
    }

    public BigDecimal getBillMoney()
    {
        return billMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("modePaymentId", getModePaymentId())
            .append("receiptId", getReceiptId())
            .append("collectionMethod", getCollectionMethod())
            .append("billMoney", getBillMoney())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
